package com.ruoyi.drugSystem.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 仓库对象 sys_drug_stock
 *
 * @author ruoyi
 * @date 2023-03-08
 */
public class SysDrugStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库序号 */
    private Long stockId;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String stockCode;

    /** 仓库名 */
    @Excel(name = "仓库名")
    private String stockName;

    public void setStockId(Long stockId)
    {
        this.stockId = stockId;
    }

    public Long getStockId()
    {
        return stockId;
    }
    public void setStockCode(String stockCode)
    {
        this.stockCode = stockCode;
    }

    public String getStockCode()
    {
        return stockCode;
    }
    public void setStockName(String stockName)
    {
        this.stockName = stockName;
    }

    public String getStockName()
    {
        return stockName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("stockId", getStockId())
                .append("stockCode", getStockCode())
                .append("stockName", getStockName())
                .toString();
    }
}
